/**
 @file ctc_asw_l3if.h

 @author Copyright (C) 2011 Centec Networks Inc.  All rights reserved.

 @date 2010-1-7

 @version v2.0

 The Module supports to config system mac. The system mac can use flow-control frame mac-sa.
 \p

*/
#ifndef _CTC_ASW_L3_IF
#define _CTC_ASW_L3_IF
#ifdef __cplusplus
extern "C" {
#endif

/****************************************************************
 *
 * Header Files
 *
 ***************************************************************/


/**********************************************************************************
                      Define API function interfaces
***********************************************************************************/
/**
 @addtogroup l3if L3if
 @{
*/

/**
     @brief      Config system router mac

     @param[in] lchip    local chip id

     @param[in]  mac_addr     Router mac

     @remark[TMA] Flow-control packet to remote port with the router mac as mac-sa.

     @return     CTC_E_XXX
*/
extern int32
ctc_asw_l3if_set_router_mac(uint8 lchip, mac_addr_t mac_addr);

/**
     @brief       Get system router mac

     @param[in] lchip    local chip id

     @param[out]  mac_addr     Router mac

     @remark[TMA]  Get the system router mac value.

     @return      CTC_E_XXX
*/
extern int32
ctc_asw_l3if_get_router_mac(uint8 lchip, mac_addr_t mac_addr);

/**@} end of @defgroup   */

#ifdef __cplusplus
}
#endif

#endif

